package com.stone.service;

import java.util.List;

import com.stone.model.ProviderStone;
import com.stone.utils.Page;

public interface IProviderStoneService {
	/**
	 * 保存  供应商-石材 对照表
	 * @param ps
	 * @return
	 */
	public ProviderStone addProviderStone(ProviderStone ps);
	
	
	/**
	 * 通过供应商的ID 取得他的所有销售石材
	 * @param providerId
	 * @return
	 */
	public List<ProviderStone> findAllPrividerStoneByProviderId(Long providerId);
	
	
	public Page findAllPrividerStoneByProviderIdByPage(Long providerId,int pageno,int pagesize );

	
	public Page findDisplayAllProviderStoneByProviderIdByPage(Long providerId, int pageno, int pagesize);
	/**
	 * 删除供应商石材
	 * @param ps
	 */
	public void deleteProviderStone(ProviderStone ps);
	
	/**
	 * 更新某供应-石材 关系
	 * @param ps
	 */
	public void updateProviderStone(ProviderStone ps);
}
